package com.browsesoft.htmlcomponent;

import javax.servlet.http.HttpServletRequest;

import org.w3c.dom.Element;

/**
 * 翻页表格组件所对应的每页行数产生器
 */
public interface TableRowsCreator {
	/**
	 * 得到每页行数
	 * 
	 * @param request
	 *            请求
	 * @param e
	 *            组件元素
	 */
	public int getRowsOfPage(HttpServletRequest request, Element e)
			throws TableRowsCreateException;
}